#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

int my_strlen(const char* arr)
{
	int len = 0;
	assert(arr != NULL);
	while (*arr++)
	{
		len++;
	}
	return len;
}

int main()
{
	char arr[] = "adadhjajhadj";
	int len = my_strlen(arr);
	printf("len=%d\n", len);

	return 0;
}